function fn<T>(id: T): T {
    return id
}

const r: string = fn<string>("10")
console.log(r)

const b: number = fn(10)
console.log(b)

const fun = <A, B>(a: A, b: B): void => {
    console.log(a, b)
}

fun<number, string>(10, "20")
